home *** CD-ROM | disk | FTP | other *** search
/ EnigmA Amiga Run 1996 June / EnigmA AMIGA RUN 08 (1996)(G.R. Edizioni)(IT)[!][issue 1996-06][EARSAN CD VII].iso / earcd / c-lang / strmc105.lha / StormC-Demo / INCLUDE / clib / lowlevel_protos.h < prev    next >
C/C++ Source or Header  |  1996-01-02  |  2KB  |  86 lines

  1. #ifndef  CLIB_LOWLEVEL_PROTOS_H
  2. #define  CLIB_LOWLEVEL_PROTOS_H
  3.  
  4. /*
  5. **    $VER: lowlevel_protos.h 40.6 (30.7.93)
  6. **    Includes Release 40.15
  7. **
  8. **    C prototypes. For use with 32 bit integers only.
  9. **
  10. **    (C) Copyright 1990-1993 Commodore-Amiga, Inc.
  11. **        All Rights Reserved
  12. */
  13.  
  14. #ifndef  EXEC_TYPES_H
  15. #include <exec/types.h>
  16. #endif
  17. #ifndef  EXEC_INTERRUPTS_H
  18. #include <exec/interrupts.h>
  19. #endif
  20. #ifndef  UTILITY_TAGITEM_H
  21. #include <utility/tagitem.h>
  22. #endif
  23. #ifndef  DEVICES_TIMER_H
  24. #include <devices/timer.h>
  25. #endif
  26. #ifndef  LIBRARIES_LOWLEVEL_H
  27. #include <libraries/lowlevel.h>
  28. #endif
  29.  
  30. #ifdef __cplusplus
  31. extern "C" {
  32. #endif
  33.  
  34. /*--- functions in V40 or higher (Release 3.1) ---*/
  35.  
  36. /* CONTROLLER HANDLING */
  37.  
  38. ULONG ReadJoyPort( unsigned long port );
  39.  
  40. /* LANGUAGE HANDLING */
  41.  
  42. UBYTE GetLanguageSelection( void );
  43.  
  44. /* KEYBOARD HANDLING */
  45.  
  46. ULONG GetKey( void );
  47. void QueryKeys( struct KeyQuery *queryArray, unsigned long arraySize );
  48. APTR AddKBInt( APTR intRoutine, APTR intData );
  49. void RemKBInt( APTR intHandle );
  50.  
  51. /* SYSTEM HANDLING */
  52.  
  53. ULONG SystemControlA( struct TagItem *tagList );
  54. ULONG SystemControl( Tag firstTag, ... );
  55.  
  56. /* TIMER HANDLING */
  57.  
  58. APTR AddTimerInt( APTR intRoutine, APTR intData );
  59. void RemTimerInt( APTR intHandle );
  60. void StopTimerInt( APTR intHandle );
  61. void StartTimerInt( APTR intHandle, unsigned long timeInterval,
  62.     long continuous );
  63. ULONG ElapsedTime( struct EClockVal *context );
  64.  
  65. /* VBLANK HANDLING */
  66.  
  67. APTR AddVBlankInt( APTR intRoutine, APTR intData );
  68. void RemVBlankInt( APTR intHandle );
  69.  
  70. /* MORE CONTROLLER HANDLING */
  71.  
  72. BOOL SetJoyPortAttrsA( unsigned long portNumber, struct TagItem *tagList );
  73. BOOL SetJoyPortAttrs( unsigned long portNumber, Tag firstTag, ... );
  74.  
  75. #ifdef __cplusplus
  76. }
  77. #endif
  78.  
  79. #ifdef STORMPRAGMAS
  80. #ifndef _INCLUDE_PRAGMA_LOWLEVEL_LIB_H
  81. #include <pragma/lowlevel_lib.h>
  82. #endif
  83. #endif
  84.  
  85. #endif     /* CLIB_LOWLEVEL_PROTOS_H */
  86.